package manytoone.mapper;



import manytoone.pojo.Room;
import manytoone.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 宋伟宁
 * @Date 2023/9/6
 * @Version 1.0
 **/
public interface StudentMapper {

    List<Student> findAll(@Param("mohu") String mohu);

    List<Room> findRooms();

    int add(Student student);

    int delete(@Param("arr")String[] arr);

    int update(Student student);

    Student findById(@Param("id")int id);
}
